package cn.edu.stu.syllabus.repository.library;

import cn.edu.stu.syllabus.repository.library.local.BooksResultEntry;
import rx.Observable;

/**
 * Created by daidaijie on 2017/3/27.
 */

public interface LibraryDataSource {

    Observable<BooksResultEntry> getBooksResult(LibrarySearchInfo librarySearchInfo, int start, int pageNum);

    boolean isSourceEmpty(Throwable errMsg);

}
